package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: yiang
 * @Date:  2025/10/9 16:20
 * @Description: 
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_user_hotel")
public class UserHotel implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 酒店
     */
    @TableField(value = "hotel_id")
    private Integer hotelId;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_USER_ID = "user_id";

    public static final String COL_HOTEL_ID = "hotel_id";
}